package com.liholin.springboot.sample.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import com.liholin.springboot.sample.bean.LoginBean;
import com.liholin.springboot.sample.bean.Member;
import com.liholin.springboot.sample.configdata.ResponseData;

import java.util.List;

public interface MemberService extends IService<Member> {

    IPage<Member> getSortMember(int page, int pageSize, int desc, String sort, String query);

    IPage<Member> getSortMemberList(int page, int pageSize, int desc, String sort, String query);

    List<Member> selectServicePage(int page, int pageSize, int desc, String sort, String query);

    ResponseData saveMember(Member member);

    ResponseData login(LoginBean loginBean,String app);

    Member getMemberListJetCache(int id);

    ResponseData updateMemberListJetCache(Member member);

    int deleteMemberListJetCache(int id);

    String sqlMontage();
}
